Skip to content

Show automatic search feedback in Activity tab (#597)#631

Closed
joptimus wants to merge 21 commits intoruddarr:developfrom
joptimus:feature/activity-tasks-597
Closed

Show automatic search feedback in Activity tab (#597)#631
joptimus wants to merge 21 commits intoruddarr:developfrom
joptimus:feature/activity-tasks-597

Conversation

@joptimus
Copy link
Copy Markdown

@joptimus joptimus commented Apr 5, 2026

Adds a Searches section to Activity so users can see the result of automatic searches, similar to Radarr/Sonarr's command history.

Search commands show live status, result message, and timestamps. Tapping a row opens a detail sheet. Follows the same patterns as the existing Queue/QueueItemSheet.

Closes #597

demo.mp4

searches search detail downloads

@tillkruss
Copy link
Copy Markdown
Collaborator

tillkruss commented Apr 6, 2026

This is very AI sloppy TBH and Ruddarr is written by hand, that's why it's nice.

But first let me understand what you're trying to see in Ruddarr. Can you please post a video of how you see recent searches in Radarr/Sonarr right now? Like what feature you're trying to replicate.

@joptimus
Copy link
Copy Markdown
Author

joptimus commented Apr 6, 2026

@tillkruss this follows what I posted in #597 (comment), where I described the approach I was going to take by putting the command feedback in Activity. I know the OP never posted a screenshot of what they were asking for but here is what i think he was asking for (and what I was looking for myself)

sonar2

The search in the queue is what I brought into Rudarr just kept in within the exisiting Activity flow. If you want me to adjust anything once youve had a chance to look at the code just let me know.

@tillkruss
Copy link
Copy Markdown
Collaborator

@joptimus That's helpful. I see that after the episode search is done, the task disappears and it will show the result in Activity > History right?

@joptimus
Copy link
Copy Markdown
Author

joptimus commented Apr 7, 2026

@tillkruss yes thats correct. I didnt want to persist it without talking to you first as I figured to just do this PR and then discuss it. Same with another idea of having the total count listed in tab as a badge versus showing as 2 Task in a list. Those i think can just be seperate PRs if that is something you'd like.

@tillkruss
Copy link
Copy Markdown
Collaborator

tillkruss commented Apr 7, 2026

@joptimus Got it, so you just want to see currently running tasks? I think we could fetch them and add them to Activity, maybe a different section, seems relatively easy and should be a small PR.

That said, it only refreshes every 5 seconds and the task might have disappeared by then. Maybe the history view needs to be more prominent?

@joptimus
Copy link
Copy Markdown
Author

joptimus commented Apr 8, 2026

@tillkruss for me what I'm trying to solve and I think where the OPs request came from is that currently as a user you initiate a search and all you see is a toast. If you go to Activity theres nothing that shows your server is actually searching or acknowledged the task. I think we are saying the same thing but what you are picturing as a small PR only covers the data fetching side it doesn't solve the UI. Once you put the UI in and make it functional, I think you end up right at my PR. Take a look when you get a chance and let me know what you think!

@tillkruss
Copy link
Copy Markdown
Collaborator

tillkruss commented Apr 8, 2026

I think something like this is nicer. Just a mockup but literally a fraction the size of this PR. Any feedback welcome of course.

Screenshot 2026-04-08 at 8 11 51 AM

@joptimus
Copy link
Copy Markdown
Author

joptimus commented Apr 8, 2026

@tillkruss I looked at yours and that's the same data layer I have. The difference is mine actually solves the problem end to end. You get a detail sheet on tap, dispatch tracking so searches that finish in under 5 seconds don't get lost, session history so completed commands stick around while you're using the app. Your version would have the problem you called out of refreshing every 5 seconds and the task might have disappeared by then. I see you dont like the segment tabs so I've reworked mine based on your example by dropping the separate tab and cleaned up the code
Simulator Screenshot - iPhone 17 Pro - 2026-04-08 at 12 36 09

Simulator Screenshot - iPhone 17 Pro - 2026-04-08 at 12 37 11

@tillkruss
Copy link
Copy Markdown
Collaborator

The difference is mine actually solves the problem end to end. You get a detail sheet on tap, dispatch tracking so searches that finish in under 5 seconds don't get lost, session history so completed commands stick around while you're using the app. Your version would have the problem you called out of refreshing every 5 seconds and the task might have disappeared by then.

The core issue you're having is that you want feedback for automatic searches right? Can you explain this in detail to me?

  • When an automatic search is currently running?
  • When an automatic search failed? Currently only listed in Activity > History which is tucked away
  • When an automatic search succeeded? There is notifications for that already?
  • Any other tasks like RSS sync or library refreshes?

@joptimus
Copy link
Copy Markdown
Author

joptimus commented Apr 8, 2026

@tillkruss

  1. yes this is the main one.
  2. yes right now you have to dig into History to find out why a search failed.
  3. Not as important because notifications cover the happy path.
  4. Not really, just search commands. In my PR I looked up all the commands you can get from the official Radarr / Sonarr repos and created a whitelist so it didnt include noisy tasks.

I believe my PR already covers all of this plus dispatch tracking so fast searches dont get lost between polls. Can you take a look and give me any feedback?

@tillkruss
Copy link
Copy Markdown
Collaborator

Okay, final questions.

Right now when you hit automatic search *arrs will display a little overlay in the bottom left corner (which Ruddarr doesn't do).

What do you see/do if a search fails? Do you sit there and wait for it to complete and then go check something?

@joptimus
Copy link
Copy Markdown
Author

@tillkruss Usually I tap automatic search then flip to Activity to see if its doing anything. Right now theres nothing there so I end up waiting 30 seconds and then running a manual search just to see what happened. If the search failed I'd have no idea unless I go dig through History.

So yeah I do sit there wondering, which is exactly the problem.

@tillkruss
Copy link
Copy Markdown
Collaborator

I feel like Radarr/Sonarr need to solve this, not Ruddarr, unless either is doing something already that Ruddarr isn't?

@joptimus
Copy link
Copy Markdown
Author

@tillkruss Honestly Im not sure whats left to answer here. The questions in your last comment are ones Ive already answered earlier in this thread and the functionality your asking about is in the PR. The dispatch tracking, failure visibility, the detail sheet are all there and demoed in the screenshots above. I stripped the segmented tab and reworked the UI based on your feedback in good faith because I wanted to ship something useful for users.

If there are specific gaps or concerns about this PR you want me to look at Im more than happy to take another pass at it. Otherwise let me know if its ready for a full review or if you prefer I close it.

@tillkruss tillkruss closed this Apr 11, 2026
@ruddarr ruddarr locked as resolved and limited conversation to collaborators Apr 11, 2026
@joptimus joptimus deleted the feature/activity-tasks-597 branch April 11, 2026 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add feedback in the 'activity' tab about automatically performed searches/actions

2 participants